package com.spcloud.demo.web;

import com.spcloud.demo.service.BusRecoupDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>TODO</p>
 * <p>
 * <PRE>
 * <BR>    修改记录
 * <BR>-----------------------------------------------
 * <BR>    修改日期         修改人          修改内容
 * </PRE>
 *
 * @author cuiyh9
 * @version 1.0
 * @Date Created in 2018年06月13日 23:15
 * @since 1.0
 */
@RestController
public class BusRecoupDemoController {

    @Autowired
    private BusRecoupDemoService busRecoupDemoService;

    @RequestMapping("/job/add")
    public String addJob() {
        busRecoupDemoService.addJob();
        return "add success";
    }
}
